package cn.wolfcode.luowowo.scenic.mapper;

import cn.wolfcode.luowowo.common.query.PhotoQueryObject;
import cn.wolfcode.luowowo.scenic.domain.Photo;

import java.util.List;

public interface PhotoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Photo record);

    Photo selectByPrimaryKey(Long id);

    List<Photo> selectAll();

    int updateByPrimaryKey(Photo record);

    List<Photo> selectForList(PhotoQueryObject qo);
}